/*
 * @Author: wangqi 2629519506@qq.com
 * @Date: 2023-05-04 17:06:23
 * @LastEditors: cgl
 * @LastEditTime: 2023-08-02 09:18:37
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\form\form.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

// 查询个人剂量管理记录
export function personalResultRecord(data) {
  return request({
    url: '/statistics/personalResultRecord/list',
    method: 'post',
    data,
  })
}
// 查询个人剂量监测记录
export function personalResultMonitor(data) {
  return request({
    url: '/statistics/personalResultMonitor/list',
    method: 'post',
    data,
  })
}

// 监测人数分布统计
export function populationDistribution(year) {
  return request({
    url: '/statistics/personalYearDosimeter/populationDistribution/'+year,
    method: 'get',
  })
}

// 放射工作人员职业性外照射香油年集体分布表
export function doseDistribution(year) {
  return request({
    url: '/statistics/personalYearDosimeter/doseDistribution/'+year,
    method: 'get',
  })
}

// 年度放射工作人员职业性外照射个人监测汇总表
export function personMonitorSummary(year) {
  return request({
    url: '/statistics/personalYearDosimeter/personMonitorSummary/'+year,
    method: 'get',
  })
}
// 放射工作人员职业性外照射个人监测集体剂量分布比、个人剂量人员分布比汇总表
export function distributionSummary(year) {
  return request({
    url: '/statistics/personalYearDosimeter/distributionSummary/'+year,
    method: 'get',
  })
}
